#ifndef KDM2PRIMARYGENERATORACTION
#define KDM2PRIMARYGENERATORACTION

#include <G4VUserPrimaryGeneratorAction.hh>
#include <G4HEPEvtInterface.hh>

class KDM2PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
	public:
		KDM2PrimaryGeneratorAction(G4String eventFilePath, G4String kaonPosFilePath, int kaonCount);
		~KDM2PrimaryGeneratorAction();

		void GeneratePrimaries(G4Event*);

	private:
		int			numOfKaons;
		double**	kaonPosList;
		G4HEPEvtInterface* interface;
};

#endif
